// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router/index'
import ElementUI from 'element-ui'
import store from './common/store';

import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/display.css';
import './assets/libs/font-awesome-4.7.0/css/font-awesome.min.css'
import './assets/css/global.css';

import F from'./common/helper';
import S from './common/storage.js';
import M from './common/middleware';
import http from './common/http'; 
import voice from './common/voice' 

Vue.config.productionTip = false
Vue.use(ElementUI);

Vue.prototype.$S = S;
Vue.prototype.$F = F;
Vue.prototype.$M = M;
Vue.prototype.$http = http;
Vue.prototype.$voice = voice  //语音提醒

 
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>'
})
